package com.mt.customer.entity;

import java.io.Serializable;
import java.util.Date;

import com.mt.course.entity.CourseEntity;
import com.mt.course.entity.CourseGoodsLearnLogEntity;

public class CustomerCourseEntity implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = 5650070379566289655L;

    private Integer customerCourseId;

    private Integer customerId;

    private Integer orderId;

    private String orderSn;

    private Integer courseId;

    private Integer type;

    private Integer status;

    private String channelNo;

    private Integer isCourse;

    private Integer isDatum;

    private Integer isExamination;

    private Date startTime;

    private Date endTime;

    private Date createTime;

    private Date updateTime;

    private Integer isLimit;

    private Integer isRefund;

    private CourseEntity courseEntity;

    private CustomerEntity customerEntity;

    private Integer totalPlayTime;

    /**
     * 当前已经学习的课时数
     */
    private Integer learnCount;

    /**
     * 如果用户登录了，查询用户当前课程总的学习进度 ，计算方式：总学习时长/课程总时长
     */
    private double progress;

    /**
     * 学员联系过的试题数量，格式（联系过的题目数量/总题目数量）
     */
    private String examinationTestedCount;

    private Integer issuAgencyId;

    private CourseGoodsLearnLogEntity lastLearnLogEntity;

    private  String issuAgencyName;

    public String getIssuAgencyName() {
        return issuAgencyName;
    }

    public void setIssuAgencyName(String issuAgencyName) {
        this.issuAgencyName = issuAgencyName;
    }

    public Integer getIssuAgencyId() {
        return issuAgencyId;
    }

    public void setIssuAgencyId(Integer issuAgencyId) {
        this.issuAgencyId = issuAgencyId;
    }

    public Integer getCustomerCourseId() {
        return customerCourseId;
    }

    public void setCustomerCourseId(Integer customerCourseId) {
        this.customerCourseId = customerCourseId;
    }

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getOrderSn() {
        return orderSn;
    }

    public void setOrderSn(String orderSn) {
        this.orderSn = orderSn == null ? null : orderSn.trim();
    }

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getChannelNo() {
        return channelNo;
    }

    public void setChannelNo(String channelNo) {
        this.channelNo = channelNo == null ? null : channelNo.trim();
    }

    public Integer getIsCourse() {
        return isCourse;
    }

    public void setIsCourse(Integer isCourse) {
        this.isCourse = isCourse;
    }

    public Integer getIsDatum() {
        return isDatum;
    }

    public void setIsDatum(Integer isDatum) {
        this.isDatum = isDatum;
    }

    public Integer getIsExamination() {
        return isExamination;
    }

    public void setIsExamination(Integer isExamination) {
        this.isExamination = isExamination;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public CourseEntity getCourseEntity() {
        return courseEntity;
    }

    public void setCourseEntity(CourseEntity courseEntity) {
        this.courseEntity = courseEntity;
    }

    public Integer getIsLimit() {
        return isLimit;
    }

    public void setIsLimit(Integer isLimit) {
        this.isLimit = isLimit;
    }

    public Integer getIsRefund() {
        return isRefund;
    }

    public void setIsRefund(Integer isRefund) {
        this.isRefund = isRefund;
    }

    public CustomerEntity getCustomerEntity() {
        return customerEntity;
    }

    public void setCustomerEntity(CustomerEntity customerEntity) {
        this.customerEntity = customerEntity;
    }

    public Integer getTotalPlayTime() {
        return totalPlayTime;
    }

    public void setTotalPlayTime(Integer totalPlayTime) {
        this.totalPlayTime = totalPlayTime;
    }

    public Integer getLearnCount() {
        return learnCount;
    }

    public void setLearnCount(Integer learnCount) {
        this.learnCount = learnCount;
    }

    public double getProgress() {
        return progress;
    }

    public void setProgress(double progress) {
        this.progress = progress;
    }

    public String getExaminationTestedCount() {
        return examinationTestedCount;
    }

    public void setExaminationTestedCount(String examinationTestedCount) {
        this.examinationTestedCount = examinationTestedCount;
    }

    public CourseGoodsLearnLogEntity getLastLearnLogEntity() {
        return lastLearnLogEntity;
    }

    public void setLastLearnLogEntity(CourseGoodsLearnLogEntity lastLearnLogEntity) {
        this.lastLearnLogEntity = lastLearnLogEntity;
    }
}